home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3 / standard / ldshread.z / ldshread
Text File  |  1998-10-30  |  3KB  |  67 lines

  1.  
  2.  
  3.  
  4. LLLLDDDDSSSSHHHHRRRREEEEAAAADDDD((((3333XXXX))))                                                      LLLLDDDDSSSSHHHHRRRREEEEAAAADDDD((((3333XXXX))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ldshread, ldnshread - read an indexed/named section header of a common
  10.      object file
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      ####iiiinnnncccclllluuuuddddeeee <<<<ssssttttddddiiiioooo....hhhh>>>>
  14.      ####iiiinnnncccclllluuuuddddeeee <<<<ffffiiiilllleeeehhhhddddrrrr....hhhh>>>>
  15.      ####iiiinnnncccclllluuuuddddeeee <<<<ssssccccnnnnhhhhddddrrrr....hhhh>>>>
  16.      ####iiiinnnncccclllluuuuddddeeee <<<<ssssyyyymmmmssss....hhhh>>>>
  17.      ####iiiinnnncccclllluuuuddddeeee <<<<llllddddffffccccnnnn....hhhh>>>>
  18.  
  19.      iiiinnnntttt llllddddsssshhhhrrrreeeeaaaadddd ((((ldptr, sectindx, secthead))))
  20.      LLLLDDDDFFFFIIIILLLLEEEE ****ldptr;;;;
  21.      uuuunnnnssssiiiiggggnnnneeeedddd sssshhhhoooorrrrtttt sectindx;;;;
  22.      SSSSCCCCNNNNHHHHDDDDRRRR ****secthead;;;;
  23.  
  24.      iiiinnnntttt llllddddnnnnsssshhhhrrrreeeeaaaadddd ((((ldptr, sectname, secthead))))
  25.      LLLLDDDDFFFFIIIILLLLEEEE ****ldptr;;;;
  26.      cccchhhhaaaarrrr *sectname;;;;
  27.      SSSSCCCCNNNNHHHHDDDDRRRR ****secthead;;;;
  28.  
  29. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  30.      _l_d_s_h_r_e_a_d reads the section header specified by _s_e_c_t_i_n_d_x of the common
  31.      object file currently associated with _l_d_p_t_r into the area of memory
  32.      beginning at _s_e_c_t_h_e_a_d.
  33.  
  34.      _l_d_n_s_h_r_e_a_d reads the section header specified by _s_e_c_t_n_a_m_e into the area of
  35.      memory beginning at _s_e_c_t_h_e_a_d.
  36.  
  37.      _l_d_s_h_r_e_a_d and _l_d_n_s_h_r_e_a_d return SSSSUUUUCCCCCCCCEEEESSSSSSSS or FFFFAAAAIIIILLLLUUUURRRREEEE.  If _s_e_c_t_i_n_d_x is greater
  38.      than the number of sections in the object file, _l_d_s_h_r_e_a_d fails; If there
  39.      is no section name corresponding with _s_e_c_t_n_a_m_e, _l_d_n_s_h_r_e_a_d fails.  If it
  40.      cannot read the specified section header, either function fails.
  41.  
  42.      NNNNOOOOTTTTEEEE: The first section header has an index of _o_n_e.
  43.  
  44.      The program must be loaded with the object file access routine library
  45.      lllliiiibbbbmmmmlllldddd....aaaa.
  46.  
  47. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  48.      ldclose(3X), ldopen(3X), ldfcn(4).
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.